package com.yuanmai.fly3.demo;

import com.yuanmai.fly3.annotations.Module;
import com.yuanmai.fly3.demo.filters.DemoFilter;
import com.yuanmai.fly3.demo.filters.TestFilter;
import com.yuanmai.fly3.inject.servlet.ServletModule;

/**
 * Created by xux on 2017/5/14.
 */
@Module
public class MyServletModule extends ServletModule {

    @Override
    protected void configureServlets() {
        filter("/demo/*").through(DemoFilter.class);
        filter("/test/a/*").through(TestFilter.class);

    }
}
